package com.kingdee.eas.xbwebservice;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class UtilFacadeFactory
{
    private UtilFacadeFactory()
    {
    }
    public static com.kingdee.eas.xbwebservice.IUtilFacade getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbwebservice.IUtilFacade)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("B61E58FA") ,com.kingdee.eas.xbwebservice.IUtilFacade.class);
    }
    
    public static com.kingdee.eas.xbwebservice.IUtilFacade getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbwebservice.IUtilFacade)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("B61E58FA") ,com.kingdee.eas.xbwebservice.IUtilFacade.class, objectCtx);
    }
    public static com.kingdee.eas.xbwebservice.IUtilFacade getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbwebservice.IUtilFacade)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("B61E58FA"));
    }
    public static com.kingdee.eas.xbwebservice.IUtilFacade getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbwebservice.IUtilFacade)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("B61E58FA"));
    }
}